<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <a href="{:U('admin/index/main')}">首页</a>
            </li>
            <li class="active">关于我们</li>
        </ul><!-- .breadcrumb -->
    </div>
    <div class="table_con">
        <form method="post"  action="{:U('index/xg_banner')}" onsubmit="" id='subform' enctype="multipart/form-data">
            <input  type="hidden" name="id"  value="{$data['id']}">
        <table>
             <tr >
                <td width="5%">名字：</td>  
                <td width="5%"><input name="name" type="text" value="{$data['name']}"></td>
            </tr>       
            <tr >
                <td width="20%">图片：</td>  
                <td width="80%">
                    <img width='100px' style="float:left" height='100px'src="/Uploads/{$data['imgurl']}">
                    <input type="button" style="width:8%;margin-top: 70px" class="btn btn-sm" id="file" value="选择文件"/>
                    <input type="file" style="display: none;" name="photo" />
                </td>
            <tr>
            <td colspan="2" align="center" valign="middle" >
                <input class="btn btn-primary btn-sm" style="width:6%;" type="submit" value="提交" />
            </td>
        </tr>
        </table>
        </form>
    </div>
    
</div><!-- /.main-content -->
<div class="main-content">
<script type="text/javascript">
    $('#file').click(function() {
        $(this).next().click();
    })
</script>
        </div><!-- /.main-content -->













